home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / amos / TwoPackers.lha / TwoPackers.doc < prev    next >
Encoding:
Text File  |  1996-09-28  |  4.3 KB  |  180 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                  00323fd8-0
  7.  
  8.  
  9.                                   Version
  10.                                     1.0
  11.  
  12.  
  13.  
  14.  
  15.                                John C. Bintz
  16.  
  17.  
  18.  
  19.                                     Not!
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                         Generated with Heddley v1.1
  37.                      Heddley v1.1 (C) Edd Dumbill 1994
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.                                  - Page 1 -
  77.  
  78.  
  79.  
  80. 1.    Two Packers - BobSquash and XPKPack - For AmosPro
  81.  
  82.                                  BobSquasher
  83.                                      And
  84.                                    XPKPack
  85.                             By Internext Software
  86.                        (uv334@freenet.victoria.bc.ca)
  87.  
  88.                                 Introduction
  89.                               Using BobSquasher
  90.                                 Using XPKPack
  91.                                  Information
  92.  
  93. 2.    Introduction
  94.  
  95. A while back, I learned how to do a simple bit compression scheme in Amos.
  96. It  had the worst compression ratio ever, but it was my first break into
  97. compression stuff on computers.
  98.  
  99. Next, I looked at how SquashABob worked.  It wasn't too hard so I wrote my
  100. own. Then, I made it so it stored the palette along with the file.  This was
  101. all in  Amos the Creator.  Once I got AmosPro, I made it an Accessory, then
  102. made it  store the number of colors automatically.
  103.  
  104. Then, when I needed to compress stuff for my up and comping platform game, I
  105. tried again to write a compression routine.  I wanted to use XPK, but
  106. Easylife  thrashed memory when XPK was used, so I dropped that.  Then, I
  107. tried to write  a simple offset compression routine, but it was too hard, so
  108. I dropped that.
  109.  
  110. Then I turned back to XPK.  I decided to directly access the
  111. xpkmaster.library  using Lib Call.  Two weeks later, I had a fully
  112. functioning set of XPK  routines for use.  Yay!
  113.  
  114. 3.    Using BobSquasher
  115.  
  116. BobSquash is easy.  If you use it as an Accessory, make sure some bobs are
  117. in  Bank 1.  It will Squash them and place them into Bank 12 (or above,
  118. whenever a  free bank is found).  The bank is a Data bank, so it'll stay
  119. after every save.  If you run it as a regular program, a file requester for
  120. a bob bank will come  up, and then a requester to save the Squashed Bob
  121. bank.  Its a very simple and  effective compression scheme.
  122.  
  123. To use the compressed pictures, open up BobSquash and find the procedure
  124. ROYAL_UNPACK.  This lets you decompress the bobs directly into the sprite
  125. bank.
  126.  
  127. 4.    Using XPKPack
  128.  
  129. XPKPack works as either an Accessory or a stand-alone program.  It uses
  130. xpkmaster.library and the compression sub-libraries, found on Aminet at
  131. util/ pack/xpk25dev.lha.  Install this first.  Then, if you don't have it,
  132. get  Easylife 1.10 and install that.
  133.  
  134. When you start up the program, a screen appears.  Along the middle are four
  135. buttons, labeled something like "Compressors","Mode Setting","Files","Info".
  136. These access different displays (like MUI click-tabs):
  137.  
  138.   Compressors lets you choose a compressor to use
  139.   Mode Setting lets you choose a mode from 0-99 to use
  140.   Files lets you choose a new file to use, and starts the compressing
  141.   Info gives a description of the compression routine plus some
  142.        other tidbits...
  143.        
  144.   Click the button above these to quit.
  145.  
  146.  
  147.                                  - Page 2 -
  148. 4.    Information
  149.  
  150.  
  151. 5.    Information
  152.  
  153. XPK is not difficult to program.  Just a tad tricky.  By the way, XPK_Inbuf
  154. doesn't work too well (sorry, Urban!).  The best compressors I've found are
  155. BLZW and NUKE.  Remember to have the user get the XPK25DEV.LHA from Aminet
  156. so  they can access your XPKed files.
  157.  
  158.  All this was written by John Bintz.
  159.  
  160.  EMail:  uv334@freenet.victoria.bc.ca
  161.          bintzer@pop.erols.com
  162.  WWW:    http://www.dragonfire.net/~JohnBintz/HOME.HTM
  163.  FTP:    ftp://www.dragonfire.net/users/Johnny
  164.  IRC:    JBintz on DALnet
  165.          See me in #softnsupple !
  166.  NNTP:   I read alt.tv.eek-the-cat, rec.arts.comics.strips, comp.sys.amiga.
  167.          marketplace, and probably some others, if I feel like it.
  168.          
  169.  Check out Sailor 
  170.    (http://www.lib.md.us)
  171.  Kevin & Kell 
  172.    (http://www.compuserve.com/enter/kevkel/kkhome.html)
  173.  Universal Press Syndicate 
  174.    (http://www.uexpress.com/)
  175.  The AWD 
  176.    (http://www.cucug.org/amiga.html) 
  177.  and Why Your Amiga Web Browser is Always Outdated 
  178.    (http://www.netscape.com or http://www.microsoft.com).
  179.  See you later!
  180.